import React from 'react';
import ReactDOM from 'react-dom';
import { Router, Link,browserHistory } from 'react-router';

import { Layout } from 'antd';
const { Content} = Layout;

export default class ContentBody extends React.Component {
    constructor(props, context){
        super(props, context);
        this.state={};
    }


    render() {
        var {title,navs,children} = this.props;
       return (
            <div className='container'> 
                <div className="content">
                    <div className="content-inner">
                        {this.props.children}
                    </div>
                </div>
                
            </div>
        )
       
    }
}
ContentBody.contextTypes= { router: React.PropTypes.object.isRequired};
